/**
 *
 * @type {*|EventEmitter}
 */
var EventEmitter = require('events').EventEmitter;

// 不管这个模块被装载多少次, require都会返回第一次创建的实例, new只会被执行一次
var sandbox = new EventEmitter();

/** @namespace */
sandbox.MSG = {
  VPN_ASSIGNED: 'VPN_ASSIGNED',
  VPN_ADDED: 'VPN_ADDED',
  VPN_REMOVED: 'VPN_REMOVED',
  VPN_RESET: 'VPN_RESET',
  EXCH_POINT_TO_VPN_TIME: 'EXCH_POINT_TO_VPN_TIME',
  LOG_POINTHISTORY: 'LOG_POINTHISTORY',
  AWARD_SUBSCRIBE_QRCODE: 'AWARD_SUBSCRIBE_QRCODE',
  AWARD_REGISTER_QRCODE: 'AWARD_REGISTER_QRCODE',
  MAIL_VERIFICATION: 'MAIL_VERIFICATION',
  MAIL_SUCCESS: 'MAIL_CALLBACK'
};
module.exports = sandbox;